import axios from "../sever/axios"
export const spaceData = (page) => axios.get('/space/getAll')
//删除
export const delSpace = (id) => axios.get('/space/delSpace', {
    params: {
        id
    }
})
//添加
export const AddSpace = (item) => axios.post('/space/addSpace', {

    ...item

})